<template>
	<div class="operation-btn">
		<i :class="props.icon"></i>
		<span>{{ props.title }}</span>
	</div>
</template>

<script setup>
const props = defineProps({
	title: {
		type: String,
		default: '',
		require: true,
	},
	icon: {
		type: String,
		default: '',
		require: true,
	},
});
</script>

<style lang="scss" scoped>
.operation-btn {
	display: flex;
	justify-content: center;
	i {
		margin-right: 2px;
	}
}
</style>
